//
//  ht_util.h
//  ht1881
//
//  Created by george on 06/03/2011.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>



@interface apps123_util : NSObject {

}

+ (void)showDialog:(NSString *)mTitle Message:(NSString *)mess;

+ (void)showYesNoDialog:(NSString *)mTitle Message:(NSString *)mess YesSelector:(SEL)yesSelector NoSelector:(SEL)noSelector;

+ (BOOL) isEmptyString:(NSString *)str;

+ (NSString*)removeJsonCallback:(NSString *)jsonStr;

+ (NSString *)getResourceFromBundle:(NSString *)folder name:(NSString *)name type:(NSString *)type;

+ (NSString *)abstractLastFix:(NSString *)string;

+ (NSString *)append:(NSString *)string withLastFix:(NSString *)lastFix;

+ (NSString *)generateControllerClassName:(NSString *)sysTabName layout:(NSString *)layout;

+ (NSString *)generateLayoutControllerClassName:(NSString *)sysTabName layout:(NSString *)layout detailLayout:(NSString *)detailLayout;

+ (NSString *)generateLayoutControllerClassName:(NSString *)sysTabName layout:(NSString *)layout levelLayout:(NSString *)levelLayout;

+ (NSString *)filterRequestServer:(NSString *)serverUrl;

+ (NSString *)filterTimeLength:(NSString *)time;

+ (NSString *)currentSystemVersion;

+ (NSInteger)getStringLength:(NSString *)string;

+ (NSString *)htmlEntityDecode:(NSString *)string;

//+ (void)alignLabelWithTop:(UILabel *)label maxHeight:(CGFloat)maxHeight;

@end
